Skip to content

Conversation

samcm
Copy link
Contributor

@samcm samcm commented Oct 9, 2025

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?
We've added event capturing to all Metadata req/resp messages we recieve on mainnet, and have seen 0 Prysm nodes reporting they're on all subnets.

Which issues(s) does this PR fix?

Fixes #15826

Other notes for review
Not sure if this is the best way to do it. I thought maybe we need to fix the underlying cache to return the correct subnets? But the pattern of checking if the flag is set seems to exist elsewhere in the codebase. Happy to do either.

Acknowledgements

samcm added 2 commits October 9, 2025 11:34
This change introduces a configuration flag, `flags.Get().SubscribeToAllSubnets`, to enable subscribing to all available attestation subnets instead of only those currently tracked in `cache.SubnetIDs.GetAllSubnets()`. This is useful for nodes that need to participate in all potential committees regardless of current committee assignments.
docs(changelog): add entry for fixing all subnets advertisement with flag
@samcm samcm force-pushed the fix/attnets-metadata-all-subnets branch from 9ae52ca to 87fda4e Compare October 9, 2025 03:22
@james-prysm
Copy link
Contributor

might not be the right approach we'll be looking into this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid attnets field in reqresp metadata when on all subnets

2 participants